package com.qiandw

import com.qiandw.spark.SparkContextFactory
//import org.apache.spark.sql.hive.thriftserver.HiveThriftServer2
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.SpringApplication

object Runner {

  @Autowired
  var scf: SparkContextFactory = _

  def main(args: Array[String]): Unit = {
    SpringApplication.run(classOf[AppConf])

//    HiveThriftServer2.startWithContext(scf.getSparkSession.sqlContext)
  }

}
